#ifndef ADVACEDOPTIONADDEDITDIALOG_H
#define ADVACEDOPTIONADDEDITDIALOG_H

#include <QDialog>

#include "../../Headers/Classes/advancedoption.h"
#include "../../Headers/Classes/myutils.h"

namespace Ui {
    class AdvacedOptionAddEditDialog;
}

class AdvacedOptionAddEditDialog : public QDialog
{
    Q_OBJECT

    MyUtils::FormStatus formStatus;
    AdvancedOption * option;

public:
    explicit AdvacedOptionAddEditDialog(
            MyUtils::FormStatus formStatus = MyUtils::Adding,
            AdvancedOption *option = NULL,
            QWidget *parent = 0);
    ~AdvacedOptionAddEditDialog();

private slots:
    void on_createButton_clicked();

    void on_cancelButton_clicked();

private:
    Ui::AdvacedOptionAddEditDialog *ui;
};

#endif // ADVACEDOPTIONADDEDITDIALOG_H
